package com.core.entity;

public class UserEntity {
	protected String id, no, name, email;
	protected Sex sex;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public enum Sex {
		boy, girl;

	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Sex getSex() {
		return sex;
	}

	public void setSex(Sex sex) {
		this.sex = sex;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	@Override
	public String toString() {
		return "UserEntity [id=" + id + ", no=" + no + ", name=" + name
				+ ", email=" + email + ", sex=" + sex + "]";
	}



	public UserEntity(String id, String no, String name, String email, Sex sex) {
		super();
		this.id = id;
		this.no = no;
		this.name = name;
		this.email = email;
		this.sex = sex;
	}

	public UserEntity() {
	}

	public String getNo() {
		return no;
	}

	public void setNo(String no) {
		this.no = no;
	}

}
